Search:
Reference
<exception>
header
<exception>
Standard exceptions
This header defines the base class for all exceptions thrown by the elements of the standard library:
exception
, along with several types and utilities to assist handling exceptions:
Types:
exception
Standard exception class
(class )
bad_exception
Exception thrown by unexpected handler
(class )
nested_exception
Nested exception class
(class )
exception_ptr
Exception pointer
(type )
terminate_handler
Type of terminate handler function
(type )
unexpected_handler
Type of unexpected handler function
(type )
Functions
terminate
Function handling termination on exception
(function )
get_terminate
Get terminate handler function
(function )
set_terminate
Set terminate handler function
(function )
unexpected
Function handling unexpected exceptions
(function )
get_unexpected
Get unexpected handler function
(function )
set_unexpected
Set unexpected handler function
(function )
uncaught_exception
Return exception status
(function )
current_exception
Get smart pointer to current exception
(function )
rethrow_exception
Rethrow exception
(function )
make_exception_ptr
Make exception_ptr
(function template )
throw_with_nested
Throw with nested
(function )
rethrow_if_nested
Rethrow if nested
(function )
C++
Information
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfenv> (fenv.h)
<cfloat> (float.h)
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctgmath> (tgmath.h)
<ctime> (time.h)
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
<array>
<deque>
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
<unordered_map>
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
<atomic>
<condition_variable>
<future>
<mutex>
<thread>
Other:
<algorithm>
<bitset>
<chrono>
<codecvt>
<complex>
<exception>
<functional>
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
<random>
<ratio>
<regex>
<stdexcept>
<string>
<system_error>
<tuple>
<type_traits>
<typeindex>
<typeinfo>
<utility>
<valarray>
<exception>
functions:
current_exception
get_terminate
get_unexpected
make_exception_ptr
rethrow_exception
rethrow_if_nested
set_terminate
set_unexpected
terminate
throw_with_nested
uncaught_exception
unexpected
types:
bad_exception
exception
exception_ptr
nested_exception
terminate_handler
unexpected_handler